import AppLayout from "@/core/components/layouts/AppLayout"
import InvoiceComponent from "@/lib/invoice/components/Invoice"
import { useRouter } from "next/router"

export default function Invoice() {
  const router = useRouter()

  return (
    <AppLayout title="Invoice & Faktur Pajak">
      <InvoiceComponent id={router.query.id} />
    </AppLayout>
  )
}